import { postRequest } from '@/api/index';

export const handleUploadImg = item =>  {
    let formdata = new FormData();
    formdata.append('file', item.file);
    let headers = { "Content-Type": "multipart/form-data" };

    return postRequest("/login/image/upload", formdata, headers)
}